package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.HsBuilding;

/**
 * 楼栋Mapper接口
 * 
 * @author asher
 * @date 2021-11-08
 */
public interface HsBuildingMapper 
{
    /**
     * 查询楼栋
     * 
     * @param buildingId 楼栋主键
     * @return 楼栋
     */
    public HsBuilding selectHsBuildingByBuildingId(Long buildingId);

    /**
     * 查询楼栋列表
     * 
     * @param hsBuilding 楼栋
     * @return 楼栋集合
     */
    public List<HsBuilding> selectHsBuildingList(HsBuilding hsBuilding);

    /**
     * 新增楼栋
     * 
     * @param hsBuilding 楼栋
     * @return 结果
     */
    public int insertHsBuilding(HsBuilding hsBuilding);

    /**
     * 修改楼栋
     * 
     * @param hsBuilding 楼栋
     * @return 结果
     */
    public int updateHsBuilding(HsBuilding hsBuilding);

    /**
     * 删除楼栋
     * 
     * @param buildingId 楼栋主键
     * @return 结果
     */
    public int deleteHsBuildingByBuildingId(Long buildingId);

    /**
     * 批量删除楼栋
     * 
     * @param buildingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHsBuildingByBuildingIds(Long[] buildingIds);
}
